<?php

namespace app\yperp\command;



use think\console\Command;
use think\console\Input;
use think\console\Output;

class ypexpress extends Command
{
    protected function configure()
    {
        // 指令配置
        $this->setName('ypexpress')
            ->setDescription('推送虹创运单号');
    }

    protected function execute(Input $input, Output $output)
    {
        // 指令输出
        $this->input = $input;

        $this->output = $output;
        
        \app\yperp\logic\yp\YpExpress::getInstance()->pushexpress('HC2404175041000294');
    }
}